package day03;

public class OperDemo2 {
    public static void main(String[] args) {
        //关系运算符:>, <, >=, <=, !=, ==
        int a=5,b=10,c=5;
        boolean b1=a>b;
        System.out.println(b1);
        System.out.println(a>=c);
        System.out.println(c<b);
        System.out.println(a<=b);
        System.out.println(a==c);
        System.out.println(a!=c);

        System.out.println(a%2==0);
        System.out.println(a+c>b);
        System.out.println(a++>5);//a++的值为5，a自增1变为6
        System.out.println(a++>5);//a++的值为6，a自增1变为7
        System.out.println(a);

        //代码整理

    }
}
